#ifndef DATASTRUCT_H
#define DATASTRUCT_H
#include <QObject>

typedef struct Book
{
    QString name;
    QString author;
    QString publish;
    QString isbn;
    QString introduction;
    QString language;
    double price;
    QString publish_data;
    int type_id;
    int status;
}Book_Info;

typedef struct User
{
    QString username;
    QString password;
    QString realName;
    QString sex;
    QString birthday;
    QString address;
    QString tel;
    QString email;
    QString registerDate;
    QString readerNumber;
}User_Info;

#endif // DATASTRUCT_H
